package com.ruicar.afs.cloud.workflow.greatwall;

import com.ruicar.afs.cloud.common.core.security.annotation.EnableAfsFeignClients;
import com.ruicar.afs.cloud.common.core.security.annotation.EnableAfsResourceServer;
import com.ruicar.afs.cloud.common.swagger.annotation.EnableAfsSwagger2;
import org.springframework.boot.SpringApplication;
import org.springframework.cloud.client.SpringCloudApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.Configuration;

/**
 * The type AfsGreatWallWorkFlowApplication
 * <p>Description: </p>
 *
 * @author Fzero
 * @version 1.0
 * @date Created on 2020.07.06 14:19:13
 * @since 1.0
 */
@EnableAfsSwagger2
@SpringCloudApplication
@EnableAfsFeignClients
@EnableAfsResourceServer(details = true)
@Configuration
@EnableDiscoveryClient
@ComponentScan({"com.ruicar.afs.cloud.workflow.greatwall", "com.ruicar.afs.cloud.workflow"})
public class AfsGreatWallWorkFlowApplication {
    /**
     * Main *
     *
     * @param args args
     */
    public static void main(String[] args) {
        SpringApplication.run(AfsGreatWallWorkFlowApplication.class, args);
    }
}
